package icu.javacg.storage.mapper;

import icu.javacg.storage.pojo.Warehouse;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
* @author sky
* @description 针对表【warehouse(仓库表)】的数据库操作Mapper
* @createDate 2023-04-25 08:42:54
* @Entity icu.javacg.storage.pojo.Warehouse
*/
@Mapper
@Component("warehouseMapper")
public interface WarehouseMapper extends BaseMapper<Warehouse> {

     List<Warehouse> selectOrder();//降序排序
     List<Warehouse> selectMax(@Param("bat") Integer bat);    //查看仓库大小为

    List<Warehouse> selectName(@Param("name") String name);//根据name查看一个管理员管多少个仓库

 }




